cmake_minimum_required(VERSION 3.1)
set(CMAKE_CXX_STANDARD 17)
project(nerf_sim)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_BUILD_TYPE "Debug")
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin)
find_package(yaml-cpp REQUIRED)
include_directories(${YAML_CPP_INCLUDE_DIR})        
add_executable(main main.cpp InternalBallisticsSimulator.cpp ExternalBallisticsSimulator.cpp)
target_link_libraries(main yaml-cpp)


